package daylight;

import java.io.*;
import java.util.Arrays;

public class Buffer03 {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("DAY\\cc.txt"));
        BufferedWriter bw = new BufferedWriter(new FileWriter("DAY\\dd.txt"));//在创建时就会把已有的数据清空
        String readLine = br.readLine();
        String[] strings = readLine.split(" ");
        int[] ints = new int[strings.length];
        for (int i = 0; i < readLine.length(); i++) {
            ints[i] = Integer.parseInt(strings[i]);
        }
        Arrays.sort(ints);
    }
}
